package com.dao;

import com.pojo.User;
import com.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface UserDao {
    public List<User> getUserList();

    public int addUser(User user);

    public int updateUser(@Param("uName") String uNmae,@Param("uPassword") String uPassword,@Param("uId") int uId);

    public int delUser(int id);

    public List<Users> getUsersList();


    public List<User> getUserLists(User user);

    public List<User> getUsersLists(List ids);

    public List<User> getMapLists(Map map);

}
